﻿using System.Collections.Generic;
using GpgCore.Government;

namespace GpgCore.GameWorld
{
    public class Country
    {
        public Planet OwnPlanet;
        public List<City> Cities;
        public string Name;
        public CountryGovernment Government;

        public Country(Planet ownPlanet)
        {
            OwnPlanet = ownPlanet;
            Cities = new List<City>();
            OwnPlanet.Countries.Add(this);

            Government = new CountryGovernment(this);
        }

        public void NextTurn()
        {
            foreach (var city in Cities)
            {
                city.StartNextTurn();
                city.EndNextTurn();
            }
        }
    }
}
